package www.bit.java;
class  Singleton {
   private   static   Singleton  singleton=new Singleton();
   private   Singleton(){

   }
   public static Singleton gettSingleton(){
       return singleton;
   }
   public void print(){
       System.out.println("a  Singletonsmall");
   }
}
public class Test {
    public static void main(String[] args) {
        Singleton.gettSingleton().print();

    }
}





